﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GreetingCardApplication
{
    class User
    {
        private string m_UserName;
        private string m_Addr;
        private string m_Post;

        public User(string userName,string addr,string post)
        {
            this.m_UserName = userName;
            this.m_Addr = addr;
            this.m_Post = post;
        }

        public string UserName 
        {
            get{ return this.m_UserName; }

            set{ this.m_UserName = value; }
        }

        public string Addr
        {
            get { return this.m_Addr; }
            set { this.m_Addr = value; }
        }

        public string Post
        {
            get { return this.m_Post; }
            set { this.m_Post = value; }
        }

        public override string ToString()
        {
            return this.m_UserName+"("+this.m_Addr+","+this.m_Post+")";
        }
    }
}
